import React, { Component } from 'react'

export class Hello extends Component {
  render() {
    return (
      <div>
        <h1>Hello:{this.props.name}</h1>
        <hr></hr>
        <h2>{this.props.children}</h2>
      </div>
    )
  }
}

export default Hello